const arr = ['beautiful', 'devil', 'inMe', 'EaSe', 'Space']
const obj = {
    name: 'Younger',
    author: 'The Hails',
    Time: '2018-02-22',
}

let startTime = new Date().getTime();
let endTime;

for (let i = 0; i< arr.length; i++) {
    console.log(`${i}, ${arr[i]}`)
}

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
arr.forEach((v, i, arr) => {
    console.log(`
    v: ${v},
    i: ${i},
    arr: ${arr},
    `)
})

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
arr.map((v, i, arr) => {
    console.log(`
    v: ${v},
    i: ${i},
    arr: ${arr},
    `)
})

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
for(let key in obj) {
    console.log(`key: ${key}, v: ${obj[key]}`)
}

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
for(let key in arr) {
    console.log(`key: ${key}, v: ${arr[key]}`)
}

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
for(let key of arr) {
    console.log(`key: ${key}, v: ${arr[key]}`)
}

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

startTime = new Date().getTime();
for(let key of Object.keys(obj)) {
    console.log(`key: ${key}, v: ${obj[key]}`)
}

endTime = new Date().getTime();
console.log(`diff: ${endTime - startTime}`)
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")

console.log("Just For Test Git");